package com.itheima.dao;

import com.itheima.entity.OrderInfo;
import com.itheima.pojo.Order;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface OrderDao {

    Order findOrder(Order order);

    void add(Order order);

    OrderInfo findById(Integer id);


    Integer findNumsByDateAndOrderStatus(@Param("date") String today, @Param("startDate") String startDate, @Param("status") String status);

}
